<?php
/**
 * @copyright   Copyright (c) 2018 https://www.sapixx.com All rights reserved.
 * @license     Licensed (http://www.apache.org/licenses/LICENSE-2.0).
 * @author      pillar<ltmn@qq.com>
 * 浏览器无权限访问控制基类
 */
namespace app\common\controller;
use app\common\model\ConfigWeb;

class Home extends Base{

    protected $web; //站点参数
    
    /**
     * 初始化类
     */
    protected function initialize(){
        $this->web     = ConfigWeb::config();
        $assign['web'] = $this->web;
        $this->assign($assign);
    }

    /**
     * 方法不存在
     */
    public function _empty(){
        return $this->error('访问的页面不存在');
    }

}
